// Copyright (c)  YISH. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.

using System;

namespace NSQL.DateFormats
{
    [CLSCompliant(false)]
    public class MySQLDateFormatter : StandardDateFormatter
    {
        public new static readonly IDatetimeFormatter Instance = new MySQLDateFormatter();

        public override string yy { get; } = "%y";
        public override string YY { get; } = "%y";
        public override string yyyy { get; } = "%Y";
        public override string YYYY { get; } = "%Y";
        public override string mm { get; } = "%m";
        public override string MM { get; } = "%m";

        public override string MON { get; } = "%b";
        public override string Mon { get; } = "%b";
        public override string mon { get; } = "%b";

        public override string MONTH { get; } = "%M";
        public override string Month { get; } = "%M";
        public override string month { get; } = "%M";

        public override string dd { get; } = "%d";
        public override string DD { get; } = "%d";
        public override string DY { get; } = "%a";
        public override string Dy { get; } = "%a";
        public override string dy { get; } = "%a";

        public override string DAY { get; } = "%W";
        public override string Day { get; } = "%W";
        public override string day { get; } = "%W";


        public override string hh { get; } = "%h";
        public override string HH { get; } = "%h";
        public override string hh12 { get; } = "%I";
        public override string HH12 { get; } = "%I";

        public override string hh24 { get; } = "%H";
        public override string HH24 { get; } = "%H";

        public override string mi { get; } = "%i";
        public override string MI { get; } = "%i";
        public override string ss { get; } = "%s";
        public override string SS { get; } = "%s";

        protected MySQLDateFormatter()
        {
        }
    }
}